using System;
using System.Collections;
using System.Collections.Generic;
using Sirenix.OdinInspector;
using UnityEngine;

namespace GPUAnimationLib.Baker
{
    /// <summary>
    /// 动画数据
    /// </summary>
    [Serializable]
    public class AnimationData
    {
        /// <summary>
        /// 动画在动画状态机中的状态名
        /// </summary>
        [Title("动画在动画状态机中的状态名")]
        public string AnimatorStateName;
        
        /// <summary>
        /// 动画片段
        /// </summary>
        [Title("动画片段")]
        public AnimationClip AnimationClip;

        /// <summary>
        /// 是否循环
        /// </summary>
        [Title("是否循环")]
        public bool Loop;

        /// <summary>
        /// 采样率
        /// </summary>
        [Title("动画采样率")]
        public int SampleFrameRate;
    }
}